<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$site.title}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/layuiadmin/style/admin.css" media="all">
</head>
<body class="layui-layout-body">
<style>
    .layui-side-menu .layui-nav .layui-nav-item > a {
        padding-top: 5px;
        padding-bottom: 5px;
    }
</style>
<div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <!-- 头部区域 -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item layadmin-flexible" lay-unselect>
                    <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩">
                        <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" layadmin-event="refresh" title="刷新">
                        <i class="layui-icon layui-icon-refresh-3"></i>
                    </a>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" layadmin-event="theme">
                        <i class="layui-icon layui-icon-theme"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" layadmin-event="note">
                        <i class="layui-icon layui-icon-note"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;">
                        <cite>{$Think.session.NAME}</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd layadmin-event="logout" style="text-align: center;"><a>退出</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" layadmin-event="fullscreen">
                        <i class="layui-icon layui-icon-screen-full"></i>
                    </a>
                </li>
            </ul>
        </div>

        <!-- 侧边菜单 -->
        <div class="layui-side layui-side-menu">
            <div class="layui-side-scroll">
                <div class="layui-logo" lay-href="{:url('Index/console')}">
                    <span>小程序后台</span>
                </div>

                <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu"
                    lay-filter="layadmin-system-side-menu">
                    <li data-name="index" class="layui-nav-item layui-nav-itemed">
                        <a href="javascript:;" lay-tips="主页" lay-direction="2">
                            <i class="layui-icon layui-icon-home"></i>
                            <cite>主页</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd data-name="console" class="layui-this">
                                <a lay-href="{:url('Index/console')}">控制台</a>
                            </dd>
                        </dl>
                    </li>
                    <li data-name="user" class="layui-nav-item">
                        <a href="javascript:;" lay-tips="用户管理" lay-direction="2">
                            <i class="layui-icon layui-icon-username"></i>
                            <cite>会员管理</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="{:url('User/index')}">会员管理</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('User/user_grade')}">会员等级</a>
                            </dd>
                        </dl>
                    </li>
                    <li data-name="product" class="layui-nav-item">
                        <a href="javascript:;" lay-tips="商城管理" lay-direction="2">
                            <i class="iconfont" style="position: absolute;top: 50%;left: 20px;margin-top: -19px;">&#xe741;</i>
                            <cite>商城管理</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="{:url('Product/category')}">商品类别</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Product/product')}">商品管理</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Product/product_operate')}">发布商品</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Product/order')}">订单管理</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Product/refund')}">退款管理</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Product/product_evaluate')}">评价管理</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Product/coupon')}">优惠券</a>
                            </dd>
                        </dl>
                    </li>
                    <li data-name="market" class="layui-nav-item">
                        <a href="javascript:;" lay-tips="营销活动" lay-direction="2">
                            <i class="layui-icon layui-icon-tree"></i>
                            <cite>营销活动</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="javascript:;">拼团管理</a>
                                <dl class="layui-nav-child">
                                    <dd><a lay-href="{:url('Market/spell')}">拼团活动</a></dd>
                                    <dd><a lay-href="{:url('Market/spell_order')}">拼团列表</a></dd>
                                </dl>
                            </dd>
                            <dd>
                                <a href="javascript:;">秒杀管理</a>
                                <dl class="layui-nav-child">
                                    <dd><a lay-href="{:url('Market/seckill')}">秒杀活动</a></dd>
                                    <dd><a lay-href="{:url('Market/seckill_time')}">时间段设置</a></dd>
                                </dl>
                            </dd>
                        </dl>
                    </li>
                    <li data-name="set" class="layui-nav-item">
                        <a href="javascript:;" lay-tips="数据统计" lay-direction="2">
                            <i class="layui-icon layui-icon-chart-screen"></i>
                            <cite>数据统计</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="javascript:;">交易数据</a>
                                <dl class="layui-nav-child">
                                    <dd><a lay-href="{:url('Record/product_statistics')}">商品统计</a></dd>
                                    <dd><a lay-href="{:url('Record/order_statistics')}">订单统计</a></dd>
                                </dl>
                            </dd>
                            <dd>
                                <a href="javascript:;">营销数据</a>
                                <dl class="layui-nav-child">
                                    <dd><a lay-href="{:url('Record/coupon_statistics')}">优惠券统计</a></dd>
                                </dl>
                            </dd>
                            <dd>
                                <a href="javascript:;">财务数据</a>
                                <dl class="layui-nav-child">
                                    <dd><a lay-href="{:url('Record/report_forms')}">财务报表</a></dd>
                                    <dd><a lay-href="{:url('Record/cash_statistics')}">提现统计</a></dd>
                                    <dd><a lay-href="{:url('Record/recharge_statistics')}">充值统计</a></dd>
                                    <dd><a lay-href="{:url('Record/anti_statistics')}">返佣统计</a></dd>
                                </dl>
                            </dd>
                        </dl>
                    </li>
                    <li data-name="user" class="layui-nav-item">
                        <a href="javascript:;" lay-tips="财务管理" lay-direction="2">
                            <i class="layui-icon layui-icon-rmb"></i>
                            <cite>财务管理</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="{:url('Cash/cash')}">提现管理</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Cash/he')}">核销记录</a>
                            </dd>
                        </dl>
                    </li>
                    <li data-name="user" class="layui-nav-item">
                        <a href="javascript:;" lay-tips="帮助中心" lay-direction="2">
                            <i class="layui-icon layui-icon-tips"></i>
                            <cite>帮助中心</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="{:url('Help/help_category')}">内容分类</a>
                            </dd>
                            <dd>
                                <a lay-href="{:url('Help/help')}">内容管理</a>
                            </dd>
                        </dl>
                    </li>
                    <li data-name="set" class="layui-nav-item">
                        <a href="javascript:;" lay-tips="系统设置" lay-direction="2">
                            <i class="layui-icon layui-icon-set"></i>
                            <cite>系统设置</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="javascript:;">系统设置</a>
                                <dl class="layui-nav-child">
                                    <dd><a lay-href="{:url('System/site')}">小程序设置</a></dd>
                                    <dd><a lay-href="{:url('System/template')}">模板消息</a></dd>
                                    <dd><a lay-href="{:url('System/banner')}">横幅管理</a></dd>
                                    <dd><a lay-href="{:url('System/content_page')}">承接页</a></dd>
                                    <dd><a lay-href="{:url('System/ad')}">广告管理</a></dd>
                                    <dd><a lay-href="{:url('System/message')}">消息推送</a></dd>
                                    <dd><a lay-href="{:url('System/popup')}">弹窗集合</a></dd>
                                    <dd><a lay-href="{:url('System/foot')}">首页区块</a></dd>
                                    <dd><a lay-href="{:url('System/link')}">首页链接</a></dd>
                                    <dd><a lay-href="{:url('System/activity')}">首页活动</a></dd>
                                    <dd><a lay-href="{:url('System/secret')}">微信支付设置</a></dd>
                                </dl>
                            </dd>
                            <dd>
                                <a href="javascript:;">权限设置</a>
                                <dl class="layui-nav-child">
                                    <dd><a lay-href="{:url('Rbac/admin')}">管理员</a></dd>
                                    <dd><a lay-href="{:url('Rbac/role')}">角色管理</a></dd>
                                    <dd><a lay-href="{:url('Rbac/access')}">权限管理</a></dd>
                                    <dd><a lay-href="{:url('Rbac/personal')}">个人信息修改</a></dd>
                                </dl>
                            </dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>

        <!-- 页面标签 -->
        <div class="layadmin-pagetabs" id="LAY_app_tabs">
            <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-down">
                <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;"></a>
                        <dl class="layui-nav-child layui-anim-fadein">
                            <dd layadmin-event="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
                            <dd layadmin-event="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
                            <dd layadmin-event="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
            <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
                <ul class="layui-tab-title" id="LAY_app_tabsheader">
                    <li lay-id="{:url('Index/console')}" lay-attr="{:url('Index/console')}" class="layui-this"><i
                            class="layui-icon layui-icon-home"></i></li>
                </ul>
            </div>
        </div>


        <!-- 主体内容 -->
        <div class="layui-body" id="LAY_app_body">
            <div class="layadmin-tabsbody-item layui-show">
                <iframe src="{:url('Index/console')}" frameborder="0" class="layadmin-iframe"></iframe>
            </div>
        </div>

        <!-- 辅助元素，一般用于移动设备下遮罩 -->
        <div class="layadmin-body-shade" layadmin-event="shade"></div>
    </div>
</div>

<script src="/static/layuiadmin/layui/layui.js"></script>
<script>

    layui.config({
        base: '/static/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use('index');
</script>
</body>
</html>


